from flask_wtf import FlaskForm
from wtforms import TextAreaField,SubmitField
from wtforms.validators import DataRequired

class suggestForm(FlaskForm):
    suggest = TextAreaField(
        label="内容",
        validators=[
            DataRequired("建议建议不能为空!")
        ],
        render_kw={
            "placeholder":"请填写您对我们的宝贵意见吧!"
        }
    )
    submit = SubmitField(
        label=" "
    )